<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>AdminLTE 2 | Dashboard</title>
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <link rel="stylesheet" href="assets/css/bootstrap.min.css">
  <link rel="stylesheet" href="assets/css/font-awesome.min.css">
  <link rel="stylesheet" href="assets/css/ionicons.min.css">
  <link rel="stylesheet" href="assets/css/AdminLTE.min.css">
  <link rel="stylesheet" href="assets/css/_all-skins.min.css">
  <link rel="stylesheet" href="assets/css/bootstrap-datepicker.min.css">
  <link href="assets/css/fileinput.css" media="all" rel="stylesheet" type="text/css" />

  <style>
    .td {
      border: 0px;
    }

    .table-bordered {
      border: 0px solid #f4f4f4;
    }

    .table>thead>tr>th,
    .table>tbody>tr>th,
    .table>tfoot>tr>th,
    .table>thead>tr>td,
    .table>tbody>tr>td,
    .table>tfoot>tr>td {
      border-top: 0px solid #f4f4f4;
    }

    .table-bordered>thead>tr>th,
    .table-bordered>tbody>tr>th,
    .table-bordered>tfoot>tr>th,
    .table-bordered>thead>tr>td,
    .table-bordered>tbody>tr>td,
    .table-bordered>tfoot>tr>td {
      border: 0px solid #f4f4f4;
      vertical-align: center;
    }


    .table>tbody>tr>td {
      text-align: center;
    }

    /* dataTables表头居中 */

    .table>thead:first-child>tr:first-child>th {
      text-align: center;
    }

    .table>tbody>tr>td,
    .table>tbody>tr>th,
    .table>tfoot>tr>td,
    .table>tfoot>tr>th,
    .table>thead>tr>td,
    .table>thead>tr>th {
      vertical-align: middle;
    }


    .box_none_shdow {
      box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1)
    }

    /* .none_padding{
      padding-left: 0;
      padding-right: 0;
      
  }
  /* .row {
    margin-left: 0px;
    margin-right: 0px;
  } */

    /* .none_content {
      min-height: 250px;
      padding: 15px; 
      margin-right: auto;
      margin-left: auto;
      padding-left: 0px;
      padding-right: 0px;
    }

    */
  </style>

</head>

<body class="hold-transition skin-blue sidebar-mini">
  <div class="wrapper">

    <header class="main-header">
      <!-- Logo -->
      <a href="index2.html" class="logo">
        <!-- mini logo for sidebar mini 50x50 pixels -->
        <span class="logo-mini">
          <b>ML</b>P</span>
        <!-- logo for regular state and mobile devices -->
        <span class="logo-lg">
          <b>机器视觉</b>训练系统</span>
      </a>
      <!-- Header Navbar: style can be found in header.less -->
      <nav class="navbar navbar-static-top">
        <!-- Sidebar toggle button-->
        <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
          <span class="sr-only">Toggle navigation</span>
        </a>

        <div class="navbar-custom-menu">
          <ul class="nav navbar-nav">
            <!-- Messages: style can be found in dropdown.less-->
            <li class="dropdown messages-menu">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                <i class="fa fa-envelope-o"></i>
                <span class="label label-success">4</span>
              </a>
              <ul class="dropdown-menu">
                <li class="header">You have 4 messages</li>
                <li>
                  <!-- inner menu: contains the actual data -->
                  <ul class="menu">
                    <li>
                      <!-- start message -->
                      <a href="#">
                        <div class="pull-left">
                          <img src="assets/images/user2-160x160.jpg" class="img-circle" alt="User Image">
                        </div>
                        <h4>
                          Support Team
                          <small>
                            <i class="fa fa-clock-o"></i> 5 mins</small>
                        </h4>
                        <p>Why not buy a new awesome theme?</p>
                      </a>
                    </li>
                    <!-- end message -->
                    <li>
                      <a href="#">
                        <div class="pull-left">
                          <img src="assets/images/user3-128x128.jpg" class="img-circle" alt="User Image">
                        </div>
                        <h4>
                          AdminLTE Design Team
                          <small>
                            <i class="fa fa-clock-o"></i> 2 hours</small>
                        </h4>
                        <p>Why not buy a new awesome theme?</p>
                      </a>
                    </li>
                    <li>
                      <a href="#">
                        <div class="pull-left">
                          <img src="assets/images/user4-128x128.jpg" class="img-circle" alt="User Image">
                        </div>
                        <h4>
                          Developers
                          <small>
                            <i class="fa fa-clock-o"></i> Today</small>
                        </h4>
                        <p>Why not buy a new awesome theme?</p>
                      </a>
                    </li>
                    <li>
                      <a href="#">
                        <div class="pull-left">
                          <img src="assets/images/user3-128x128.jpg" class="img-circle" alt="User Image">
                        </div>
                        <h4>
                          Sales Department
                          <small>
                            <i class="fa fa-clock-o"></i> Yesterday</small>
                        </h4>
                        <p>Why not buy a new awesome theme?</p>
                      </a>
                    </li>
                    <li>
                      <a href="#">
                        <div class="pull-left">
                          <img src="assets/images/user4-128x128.jpg" class="img-circle" alt="User Image">
                        </div>
                        <h4>
                          Reviewers
                          <small>
                            <i class="fa fa-clock-o"></i> 2 days</small>
                        </h4>
                        <p>Why not buy a new awesome theme?</p>
                      </a>
                    </li>
                  </ul>
                </li>
                <li class="footer">
                  <a href="#">See All Messages</a>
                </li>
              </ul>
            </li>
            <!-- Notifications: style can be found in dropdown.less -->
            <li class="dropdown notifications-menu">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                <i class="fa fa-bell-o"></i>
                <span class="label label-warning">10</span>
              </a>
              <ul class="dropdown-menu">
                <li class="header">You have 10 notifications</li>
                <li>
                  <!-- inner menu: contains the actual data -->
                  <ul class="menu">
                    <li>
                      <a href="#">
                        <i class="fa fa-users text-aqua"></i> 5 new members joined today
                      </a>
                    </li>
                    <li>
                      <a href="#">
                        <i class="fa fa-warning text-yellow"></i> Very long description here that may not fit into the page and may cause design problems
                      </a>
                    </li>
                    <li>
                      <a href="#">
                        <i class="fa fa-users text-red"></i> 5 new members joined
                      </a>
                    </li>
                    <li>
                      <a href="#">
                        <i class="fa fa-shopping-cart text-green"></i> 25 sales made
                      </a>
                    </li>
                    <li>
                      <a href="#">
                        <i class="fa fa-user text-red"></i> You changed your username
                      </a>
                    </li>
                  </ul>
                </li>
                <li class="footer">
                  <a href="#">View all</a>
                </li>
              </ul>
            </li>
            <!-- Tasks: style can be found in dropdown.less -->
            <li class="dropdown tasks-menu">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                <i class="fa fa-flag-o"></i>
                <span class="label label-danger">9</span>
              </a>
              <ul class="dropdown-menu">
                <li class="header">You have 9 tasks</li>
                <li>
                  <!-- inner menu: contains the actual data -->
                  <ul class="menu">
                    <li>
                      <!-- Task item -->
                      <a href="#">
                        <h3>
                          Design some buttons
                          <small class="pull-right">20%</small>
                        </h3>
                        <div class="progress xs">
                          <div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                            <span class="sr-only">20% Complete</span>
                          </div>
                        </div>
                      </a>
                    </li>
                    <!-- end task item -->
                    <li>
                      <!-- Task item -->
                      <a href="#">
                        <h3>
                          Create a nice theme
                          <small class="pull-right">40%</small>
                        </h3>
                        <div class="progress xs">
                          <div class="progress-bar progress-bar-green" style="width: 40%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                            <span class="sr-only">40% Complete</span>
                          </div>
                        </div>
                      </a>
                    </li>
                    <!-- end task item -->
                    <li>
                      <!-- Task item -->
                      <a href="#">
                        <h3>
                          Some task I need to do
                          <small class="pull-right">60%</small>
                        </h3>
                        <div class="progress xs">
                          <div class="progress-bar progress-bar-red" style="width: 60%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                            <span class="sr-only">60% Complete</span>
                          </div>
                        </div>
                      </a>
                    </li>
                    <!-- end task item -->
                    <li>
                      <!-- Task item -->
                      <a href="#">
                        <h3>
                          Make beautiful transitions
                          <small class="pull-right">80%</small>
                        </h3>
                        <div class="progress xs">
                          <div class="progress-bar progress-bar-yellow" style="width: 80%" role="progressbar" aria-valuenow="20" aria-valuemin="0"
                            aria-valuemax="100">
                            <span class="sr-only">80% Complete</span>
                          </div>
                        </div>
                      </a>
                    </li>
                    <!-- end task item -->
                  </ul>
                </li>
                <li class="footer">
                  <a href="#">View all tasks</a>
                </li>
              </ul>
            </li>
            <!-- User Account: style can be found in dropdown.less -->
            <li class="dropdown user user-menu">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                <img src="assets/images/user2-160x160.jpg" class="user-image" alt="User Image">
                <span class="hidden-xs">Alexander Pierce</span>
              </a>
              <ul class="dropdown-menu">
                <!-- User image -->
                <li class="user-header">
                  <img src="assets/images/user2-160x160.jpg" class="img-circle" alt="User Image">

                  <p>
                    Alexander Pierce - Web Developer
                    <small>Member since Nov. 2012</small>
                  </p>
                </li>
                <!-- Menu Body -->
                <li class="user-body">
                  <div class="row">
                    <div class="col-xs-4 text-center">
                      <a href="#">Followers</a>
                    </div>
                    <div class="col-xs-4 text-center">
                      <a href="#">Sales</a>
                    </div>
                    <div class="col-xs-4 text-center">
                      <a href="#">Friends</a>
                    </div>
                  </div>
                  <!-- /.row -->
                </li>
                <!-- Menu Footer-->
                <li class="user-footer">
                  <div class="pull-left">
                    <a href="#" class="btn btn-default btn-flat">Profile</a>
                  </div>
                  <div class="pull-right">
                    <a href="#" class="btn btn-default btn-flat">Sign out</a>
                  </div>
                </li>
              </ul>
            </li>
            <!-- Control Sidebar Toggle Button -->
            <li>
              <a href="#" data-toggle="control-sidebar">
                <i class="fa fa-gears"></i>
              </a>
            </li>
          </ul>
        </div>
      </nav>
    </header>
    <!-- Left side column. contains the logo and sidebar -->
    <aside class="main-sidebar">
      <!-- sidebar: style can be found in sidebar.less -->
      <section class="sidebar">
        <!-- Sidebar user panel -->
        <div class="user-panel">
          <div class="pull-left image">
            <img src="assets/images/user2-160x160.jpg" class="img-circle" alt="User Image">
          </div>
          <div class="pull-left info">
            <p>Alexander Pierce</p>
            <a href="#">
              <i class="fa fa-circle text-success"></i> Online</a>
          </div>
        </div>
        <!-- search form -->
        <form action="#" method="get" class="sidebar-form">
          <div class="input-group">
            <input type="text" name="q" class="form-control" placeholder="Search...">
            <span class="input-group-btn">
              <button type="submit" name="search" id="search-btn" class="btn btn-flat">
                <i class="fa fa-search"></i>
              </button>
            </span>
          </div>
        </form>
        <!-- /.search form -->
        <!-- sidebar menu: : style can be found in sidebar.less -->
        <ul class="sidebar-menu" data-widget="tree">
          <li class="header">菜单列表</li>
          <li class="active treeview">
            <a href="#">
              <i class="fa fa-cloud"></i>
              <span>图像存储 OSS</span>
              <span class="pull-right-container">
                <i class="fa fa-angle-left pull-right"></i>
              </span>
            </a>
            <ul class="treeview-menu">
              <li class="active">
                <a href="javascript:;">
                  <i class="fa fa-file-image-o"></i>图片管理</a>
              </li>
              <li>
                  <a href="javascript:;">
                    <i class="fa fa-cube"></i>模型训练</a>
                </li>
            </ul>

          </li>
        </ul>
      </section>
      <!-- /.sidebar -->
    </aside>

    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
      <!-- Content Header (Page header) -->
      <section class="content-header with-border">
        <h1>
          对象存储
          <small>图片管理</small>
        </h1>
        <ol class="breadcrumb">
          <li>
            <a href="#">
              <i class="fa fa-dashboard"></i> 主页</a>
          </li>
          <li class="active">对象存储</li>
          <li class="active">图片管理</li>
        </ol>
      </section>
      <section class="content ">
        <div class="row">
          <div class="col-md-12">
            <div class="box box-info">
              <div class="box-body">
                <!-- Custom Tabs -->
                <div class="nav-tabs-custom box_none_shdow">
                  <ul class="nav nav-tabs">
                    <li class="active">
                      <a href="#tab_1" data-toggle="tab">概览</a>
                    </li>
                    <li>
                      <a href="#tab_2" data-toggle="tab">文件管理</a>
                    </li>
                    <li>
                      <a href="#tab_3" data-toggle="tab">图片处理</a>
                    </li>
                    <li>
                      <a href="#tab_3" data-toggle="tab">基础数据</a>
                    </li>
                    <li>
                      <a href="#tab_3" data-toggle="tab">数据统计</a>
                    </li>
                    <li>
                      <a href="#tab_3" data-toggle="tab">文件访问统计</a>
                    </li>
                    <li class="pull-right">
                      <a href="#" class="text-muted">
                        <i class="fa fa-gear"></i>
                      </a>
                    </li>
                  </ul>


                  <div class="tab-content">
                    <div class="tab-pane active" id="tab_1">
                      <!-- Info boxes -->
                      <h5 style="color: gray;">系统数据</h5>
                      <br>
                      <div class="alert alert-info alert-dismissible">
                        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                        <span style="color: black;font-size: 13px;">Info alert preview. This alert is dismissable.</span>
                      </div>
                      <div class="row">
                        <div class="col-md-2 col-sm-6 col-xs-12">
                          <div class="info-box">
                            <span class="info-box-icon ">
                              <i class="fa fa-desktop"></i>
                            </span>
                            <div class="info-box-content">
                              <span class="info-box-text">CPU 占用</span>
                              <span class="info-box-number">90
                                <small>%</small>
                              </span>
                              <!-- <span class="info-box-number">90
                                  <small>%</small>
                              </span> -->
                            </div>
                            <!-- /.info-box-content -->
                          </div>
                          <!-- /.info-box -->
                        </div>
                        <!-- /.col -->
                        <div class="col-md-2 col-sm-6 col-xs-12">
                          <div class="info-box">
                            <span class="info-box-icon bg-red">
                              <i class="fa fa-database"></i>
                            </span>

                            <div class="info-box-content">
                              <span class="info-box-text">系统内存</span>
                              <span class="info-box-number">41,410</span>
                            </div>
                            <!-- /.info-box-content -->
                          </div>
                          <!-- /.info-box -->
                        </div>
                        <!-- /.col -->
                        <!-- fix for small devices only -->
                        <div class="clearfix visible-sm-block"></div>
                        <div class="col-md-2 col-sm-6 col-xs-12">
                          <div class="info-box">
                            <span class="info-box-icon bg-green">
                              <i class="fa fa-cubes"></i>
                            </span>

                            <div class="info-box-content">
                              <span class="info-box-text">GPU占比</span>
                              <span class="info-box-number">76</span>
                            </div>
                            <!-- /.info-box-content -->
                          </div>
                          <!-- /.info-box -->
                        </div>
                        <!-- /.col -->
                        <div class="col-md-2 col-sm-6 col-xs-12">
                          <div class="info-box">
                            <span class="info-box-icon bg-yellow">
                              <i class="fa fa-users"></i>
                            </span>
                            <div class="info-box-content">
                              <span class="info-box-text">访问流量</span>
                              <span class="info-box-number">2,000</span>
                            </div>
                            <!-- /.info-box-content -->
                          </div>
                          <!-- /.info-box -->
                        </div>
                        <!-- /.col -->

                        <!-- /.col -->
                        <div class="col-md-2 col-sm-6 col-xs-12">
                          <div class="info-box">
                            <span class="info-box-icon bg-green">
                              <i class="fa fa-check-square"></i>
                            </span>
                            <div class="info-box-content">
                              <span class="info-box-text">训练服务器连接状态</span>
                              <span class="">已连接&nbsp;</span>
                              <button class="btn btn-xs">
                                <span class="fa fa-stop" style="color: red;"></span>
                              </button>
                            </div>
                            <!-- /.info-box-content -->
                          </div>
                          <!-- /.info-box -->
                        </div>

                        <!-- /.col -->
                        <div class="col-md-2 col-sm-6 col-xs-12">
                            <div class="info-box">
                              <span class="info-box-icon bg-red">
                                <i class="fa fa-exclamation-triangle"></i>
                              </span>
                              <div class="info-box-content">
                                <span class="info-box-text">应用服务器连接状态</span>
                                <span class="">未连接&nbsp;</span>
                                <button class="btn btn-xs">
                                  <span class="fa fa-play" style="color: green;"></span>
                                </button>
                              </div>
                              <!-- /.info-box-content -->
                            </div>
                            <!-- /.info-box -->
                          </div>

                      </div>
                      <!-- /.row -->
                      <h5 style="color: gray;">基础数据</h5>
                      <br>
                      <div class="row">
                        <div class="col-sm-3 col-xs-6">
                          <div class="description-block border-right">
                            <span class="description-percentage text-green">
                              <i class="fa fa-caret-up"></i> 17%</span>
                            <h5 class="description-header">100 G</h5>
                            <span class="description-text">空间总量</span>
                          </div>
                          <!-- /.description-block -->
                        </div>
                        <!-- /.col -->
                        <div class="col-sm-3 col-xs-6">
                          <div class="description-block border-right">
                            <span class="description-percentage text-yellow">
                              <i class="fa fa-caret-left"></i> 0%</span>
                            <h5 class="description-header">10 G</h5>
                            <span class="description-text">剩余空间</span>
                          </div>
                          <!-- /.description-block -->
                        </div>
                        <!-- /.col -->
                        <div class="col-sm-3 col-xs-6">
                          <div class="description-block border-right">
                            <span class="description-percentage text-green">
                              <i class="fa fa-caret-up"></i> 20%</span>
                            <h5 class="description-header">24,813,53</h5>
                            <span class="description-text">照片总数</span>
                          </div>
                          <!-- /.description-block -->
                        </div>
                        <!-- /.col -->
                        <div class="col-sm-3 col-xs-6">
                          <div class="description-block">
                            <span class="description-percentage text-red">
                              <i class="fa fa-caret-down"></i> 18%</span>
                            <h5 class="description-header">1200</h5>
                            <span class="description-text">访问量</span>
                          </div>
                          <!-- /.description-block -->
                        </div>
                      </div>
                      <div class="row">
                        <div class="col-sm-3 col-xs-6">
                          <div class="description-block border-right">
                            <span class="description-percentage text-green">
                              <i class="fa fa-caret-up"></i> 17%</span>
                            <h5 class="description-header">100 G</h5>
                            <span class="description-text">空间总量</span>
                          </div>
                          <!-- /.description-block -->
                        </div>
                        <!-- /.col -->
                        <div class="col-sm-3 col-xs-6">
                          <div class="description-block border-right">
                            <span class="description-percentage text-yellow">
                              <i class="fa fa-caret-left"></i> 0%</span>
                            <h5 class="description-header">10 G</h5>
                            <span class="description-text">剩余空间</span>
                          </div>
                          <!-- /.description-block -->
                        </div>
                        <!-- /.col -->
                        <div class="col-sm-3 col-xs-6">
                          <div class="description-block border-right">
                            <span class="description-percentage text-green">
                              <i class="fa fa-caret-up"></i> 20%</span>
                            <h5 class="description-header">24,813,53</h5>
                            <span class="description-text">照片总数</span>
                          </div>
                          <!-- /.description-block -->
                        </div>
                        <!-- /.col -->
                        <div class="col-sm-3 col-xs-6">
                          <div class="description-block">
                            <span class="description-percentage text-red">
                              <i class="fa fa-caret-down"></i> 18%</span>
                            <h5 class="description-header">1200</h5>
                            <span class="description-text">访问量</span>
                          </div>
                          <!-- /.description-block -->
                        </div>
                      </div>
                      <HR>
                      <h5 style="color: gray;">设置</h5>
                      <br>
                      <div class="row">
                        <div class="col-xs-6">
                          <div class="box box_none_shdow">
                            <div class="box-body table-responsive no-padding">
                              <table class="table table-hover">
                                <tr>
                                  <td>读写权限</td>
                                  <td>私有</td>
                                  <td>
                                    <a href="#" class="text-muted">
                                      <i class="fa fa-gear"></i>
                                    </a>
                                  </td>
                                </tr>
                                <tr>
                                  <td>防盗链</td>
                                  <td>未开启</td>
                                  <td>
                                    <a href="#" class="text-muted">
                                      <i class="fa fa-gear"></i>
                                    </a>
                                  </td>
                                </tr>
                                <tr>
                                  <td>生命周期</td>
                                  <td>未开启</td>
                                  <td>
                                    <a href="#" class="text-muted">
                                      <i class="fa fa-gear"></i>
                                    </a>
                                  </td>
                                </tr>
                                <tr>
                                  <td>日志管理</td>
                                  <td>未开启</td>
                                  <td>
                                    <a href="#" class="text-muted">
                                      <i class="fa fa-gear"></i>
                                    </a>
                                  </td>
                                </tr>
                              </table>
                            </div>
                            <!-- /.box-body -->
                          </div>
                          <!-- /.box -->
                        </div>
                        <div class="col-xs-6">
                          <div class="box box_none_shdow">

                            <div class="box-body table-responsive no-padding">
                              <table class="table table-hover">
                                <tr>
                                  <td>跨域访问</td>
                                  <td>未开启</td>
                                  <td>
                                    <a href="#" class="text-muted">
                                      <i class="fa fa-gear"></i>
                                    </a>
                                  </td>
                                </tr>
                                <tr>
                                  <td>镜像回源</td>
                                  <td>未开启</td>
                                  <td>
                                    <a href="#" class="text-muted">
                                      <i class="fa fa-gear"></i>
                                    </a>
                                  </td>
                                </tr>
                                <tr>
                                  <td>跨区域复制</td>
                                  <td>未开启</td>
                                  <td>
                                    <a href="#" class="text-muted">
                                      <i class="fa fa-gear"></i>
                                    </a>
                                  </td>
                                </tr>
                                <tr>
                                  <td>静态页面</td>
                                  <td>未开启</td>
                                  <td>
                                    <a href="#" class="text-muted">
                                      <i class="fa fa-gear"></i>
                                    </a>
                                  </td>
                                </tr>
                              </table>
                            </div>
                            <!-- /.box-body -->
                          </div>
                          <!-- /.box -->
                        </div>
                      </div>

                    </div>

                    <!-- /.tab-pane -->
                    <div class="tab-pane" id="tab_2">
                      <div class="row" style="margin-top:10px;margin-bottom:15px;">
                        <div class="margin">
                          <div class="btn-group">
                            <button type="button" class="btn btn-default">上传文件</button>
                          </div>
                          <div class="btn-group">
                            <button type="button" class="btn btn-info">新建目录</button>
                          </div>
                          <div class="btn-group">
                            <button type="button" class="btn btn-danger">删除</button>
                          </div>
                          <div class="btn-group">
                            <button type="button" class="btn btn-info">刷新</button>
                          </div>
                        </div>

                        <table id="filesTable" style="font-size: 11px;color: gray;" class="table table-bordered table-hover" frame=void rules=none>
                          <thead>
                            <tr frame=void rules=none style="background-color: #EFEFEF;">
                              <th width="40px">
                                <input type="checkbox" name="" id="">
                              </th>
                              <th width="40px"> </th>
                              <th>文件名（Object Name）</th>
                              <th>文件大小</th>
                              <th>存储类型</th>
                              <th>更新时间</th>
                              <th width="200px">操作</th>
                            </tr>
                          </thead>
                          <tbody id="trTbody">

                          </tbody>
                        </table>
                      </div>
                    </div>

                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </section>

    </div>
    <!-- /.content-wrapper -->
    <footer class="main-footer">
      <div class="pull-right hidden-xs">
        <b>Version</b> 2.4.0
      </div>
      <strong>Copyright &copy; 2017-2027 MinerByte Studio.</strong> All rights reserved.
    </footer>

    <!-- /.control-sidebar -->
    <!-- Add the sidebar's background. This div must be placed
       immediately after the control sidebar -->
    <div class="control-sidebar-bg"></div>
  </div>
  <!-- ./wrapper -->
  <!-- jQuery 3 -->
  <script src="assets/js/jquery.min.js"></script>
  <!-- Bootstrap 3.3.7 -->
  <script src="assets/js/bootstrap.min.js"></script>
  <script src="assets/js/jquery.dataTables.min.js"></script>
  <script src="assets/js/dataTables.bootstrap.min.js"></script>
  <!-- Slimscroll -->
  <script src="assets/js/jquery.slimscroll.min.js"></script>
  <!-- FastClick -->
  <script src="assets/js/fastclick.js"></script>
  <!-- AdminLTE App -->
  <script src="assets/js/adminlte.min.js"></script>

  <!-- datatables -->
  <script src="assets/js/jquery.dataTables.min.js"></script>
  <script src="assets/js/dataTables.bootstrap.min.js"></script>
  <script src="assets/js/handlebars-v4.0.11.js"></script>

</body>
<script id="tpl" type="text/x-handlebars-template">
  {{#each func}}
    <a onclick="{{this.fn}}">设置</a>
  {{/each}}
</script>
<script id="chk_temp" type="text/x-handlebars-template">
  {{#each func}}
    <input type="checkbox" name="" id="">
  {{/each}}
</script>
<script id="folder_col" type="text/x-handlebars-template">
  {{#each func}}
    <a class="btn btn-lg">
      <i class="fa fa-fw fa-folder-open"></i>
    </a>
  {{/each}}
</script>
<script type="text/javascript">
  var table;
  //初始化用户信息
  var userList = new Array();
  userList[0] = { "objectName": "张三", "objectSize": "zhangsan", "storeType": "存储类型", "updateTime": "更新时间", };
  userList[1] = { "objectName": "张三", "objectSize": "zhangsan", "storeType": "存储类型", "updateTime": "更新时间", };
  var tpl = $("#tpl").html();
  var template = Handlebars.compile(tpl);
  var chk_temp = Handlebars.compile($("#chk_temp").html());
  var folder_temp = Handlebars.compile($("#folder_col").html());
  $(function () {
    table = $('#filesTable').DataTable({

      'paging': false,
      'lengthChange': false,
      'searching': false,
      'ordering': false,
      'info': false,
      'autoWidth': false,
      "language": {
        "lengthMenu": "_MENU_ 条记录每页",
        "zeroRecords": "没有找到记录",
        "info": "第 _PAGE_ 页 ( 总共 _PAGES_ 页 )",
        "infoEmpty": "无记录",
        "infoFiltered": "(从 _MAX_ 条记录过滤)",
        "paginate": {
          "previous": "上一页",
          "next": "下一页"
        }
      },
      data: userList,
      columns: [
        { "data": null, "width": "4%", },
        { "data": null, "width": "8%", cellsAlign: "center", },
        { "data": "objectName", },
        { "data": "objectSize", },
        { "data": "storeType", },
        { "data": "updateTime", },
        { "data": null }
      ],
      columnDefs: [
        {
          targets: 6,
          render: function (a, b, c, d) {
            var context =
              {
                func: [
                  { "name": "operation_col", "fn": "test()" },
                ]
              };
            var html = template(context);//匹配内容
            return html;
          }
        },
        {
          targets: 1,
          render: function (a, b, c, d) {
            var context =
              {
                func: [
                  { "name": "folder_col", "fn": "test()" },
                ]
              };
            var html = folder_temp(context);//匹配内容
            return html;
          }
        },
        {
          targets: 0,
          render: function (a, b, c, d) {
            var context =
              {
                func: [
                  { "name": "chk_col", "fn": "test()" },
                ]
              };
            var html = chk_temp(context);//匹配内容
            return html;
          }
        }
      ],

    })

  })

  function test() {

  }

</script>

</html>